﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace ControlService.DataModel
{
    [DataContract]
    public class PopItem : DataContractBase
    {
        private string _table;

        [DataMember]
        public string Table
        {
            get { return _table; }
            set { _table = value; }
        }

        private string _key;
        [DataMember]
        public string Key
        {
            get { return _key; }
            set { _key = value; }
        }

        private string _showFields;
        [DataMember]
        public string ShowFields
        {
            get { return _showFields; }
            set { _showFields = value; }
        }

        private int _pageSize = 10;
        [DataMember]
        public int PageSize
        {
            get { return _pageSize; }
            set { _pageSize = value; }
        }

        private string _orderFid;
        [DataMember]
        public string OrderFid
        {
            get { return _orderFid; }
            set { _orderFid = value; }
        }

        private string _strWhere;
        [DataMember]
        public string StrWhere
        {
            get { return _strWhere; }
            set { _strWhere = value; }
        }

        private string _refField;
        [DataMember]
        public string RefField
        {
            get { return _refField; }
            set { _refField = value; }
        }

        private string _desc;
        [DataMember]
        public string Desc
        {
            get { return _desc; }
            set { _desc = value; }
        }

        private int _width;
        [DataMember]
        public int Width
        {
            get { return _width; }
            set { _width = value; }
        }

        private int _height;
        [DataMember]
        public int Height
        {
            get { return _height; }
            set { _height = value; }
        }

        private string _multiSelect;
        [DataMember]
        public string MultiSelect
        {
            get { return _multiSelect; }
            set { _multiSelect = value; }
        }

        private string _keyRef;
        [DataMember]
        public string KeyRef
        {
            get { return _keyRef; }
            set { _keyRef = value; }
        }

        private string _isSaveKey;
        [DataMember]
        public string IsSaveKey
        {
            get { return _isSaveKey; }
            set { _isSaveKey = value; }
        }
    }
}
